home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Grab Bag
/
Shareware Grab Bag.iso
/
011
/
attclk2.arc
/
SETDATE.H
< prev
next >
Wrap
C/C++ Source or Header
|
1986-01-09
|
678b
|
25 lines
/* :ts=8
*
* Global defines for setdate program
*
*/
/* structure for storing date and time */
struct tm {
int tm_sec; /* seconds */
int tm_min; /* minutes */
int tm_hour; /* hours */
int tm_mday; /* day of month */
int tm_mon; /* month (0 = Jan, ...) */
int tm_year; /* years since 1900 */
int tm_wday; /* day of week (0 = Sun, ...) */
int tm_yday; /* day of year */
int tm_isdst; /* not used */
int tm_hsec; /* hundreths of seconds */
};
/* The real time clock stores the year as an offset (0-7) */
/* from a leap year. I used 1984 for the leap year. This */
/* will have to be changed before 12-31-91. */
#define LEAP_YEAR 84